package com.vecspace.web.servlet.model;
/**根据Request请求，调用响应的函数执行时，产生的相关的数据
 * 
 * @version: 1.0
 * @author: wanghua
 */
public class ServletResult {
	/**
	 * request请求的函数返回的值
	 */
	private Object responseData;
	/**
	 * 页面数据类型 HttpContentType
	 */
	private String contentType;//
	private String responseDataType;//"base" "view"
	public ServletResult(){
		
	}
	
	public ServletResult(Object responseData, String contentType){
		this.responseData = responseData;
		this.contentType = contentType;
	}
	/**
	 * request请求的函数返回的值
	 */
	public Object getResponseData() {
		return responseData;
	}
	/**
	 * request请求的函数返回的值
	 */
	public void setResponseData(Object responseData) {
		this.responseData = responseData;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getResponseDataType() {
		return responseDataType;
	}

	public void setResponseDataType(String responseDataType) {
		this.responseDataType = responseDataType;
	}
}
